home *** CD-ROM | disk | FTP | other *** search
- property pStatus, pTimer, pMaxTime, pMaxTime2, pCount, pFirstTime
- global gManager, gMaster
-
- on new me
- pFirstTime = "notyet"
- pCount = 0
- pTimer = 0
- pMaxTime = 30
- pMaxTime2 = 300
- pStatus = "paused"
- return me
- end
-
- on stepFrame me
- case pStatus of
- "inactive":
- me.mWatchTimer()
- "active":
- me.mCheckNextImage()
- "paused":
- nothing()
- end case
- end
-
- on mAddActor me
- add(the actorList, me)
- end
-
- on mDeleteActor me
- where = getOne(the actorList, me)
- if where > 0 then
- deleteAt(the actorList, where)
- end if
- end
-